package com.itheima.test2;

public class WorkTest {
    public static void main(String[] args) {
        Manager m1=new Manager();
        m1.setName("项目经理");
        m1.setId(123);
        m1.setSalary(15000);
        m1.setBonus(6000);
        m1.work();
        Coder c1=new Coder("程序员",135,10000);
        c1.work();
    }
}
